﻿@ModelType WikiPageModel

<h1>מחיקת '@Model.Title'</h1>

<ul class="action-menu">
    <li>@Html.ActionLink("דף", "FetchExact", New With {.page = Model.Title})</li>
    <li>@Html.ActionLink("עריכה", "Edit", New With {.page = Model.Title})</li>
    <li>@Html.ActionLink("היסטוריה", "History", New With {.page = Model.Title})</li>
    <li>@Html.ActionLink("שינוי שם", "Rename", New With {.page = Model.Title})</li>
    <li>@Html.ActionLink("מחיקה", "Delete", New With {.page = Model.Title})</li>
</ul>

@Using Html.BeginForm("Edit", "Wiki", New With {.page = Model.Title}, FormMethod.Post)
    
    @<table class="form">
         <tr>
             <td>
                    <button type="submit" name="target" value="delete" style="font-size:larger">מחק</button>
             </td>
         </tr>
        <tr>
            <td>
                <button type="submit" name="target" value="remove">מחק לחלוטין</button>
            </td>
        </tr>
    </table>

End Using